import { put, get } from '@/security/request'
import { Application_Form } from '@/utils/keyWord'

export function getDefRateApi(): Promise<IRespResult<any>> {
    return get("/admin/default/rate/def");
}

export function rechargeApi(data: any): Promise<IRespResult<any>> {
    return put("/admin/default/rate/recharge",  data, Application_Form);
}

export function withdrawApi(data: any): Promise<IRespResult<any>> {
    return put("/admin/default/rate/withdraw",  data, Application_Form);
}